package cj.web.marriage.domain;
/*
 *  
 *  
*/
import java.io.Serializable;

import cj.web.admin.domain.DataTablePage;

/**
 * 结婚信息
 */
public class MarriageInfor extends DataTablePage implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = -111135525277410660L;
	protected Integer id;
	protected String title;
	protected String man;
	protected String manCard;
	protected String woman;
	protected String womanCard;
	protected String orderAt;
	protected String photo;
	protected String video;
	protected String createAt;
	protected String code;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getMan() {
		return man;
	}
	public void setMan(String man) {
		this.man = man;
	}
	public String getManCard() {
		return manCard;
	}
	public void setManCard(String manCard) {
		this.manCard = manCard;
	}
	public String getWoman() {
		return woman;
	}
	public void setWoman(String woman) {
		this.woman = woman;
	}
	public String getWomanCard() {
		return womanCard;
	}
	public void setWomanCard(String womanCard) {
		this.womanCard = womanCard;
	}
	public String getOrderAt() {
		return orderAt;
	}
	public void setOrderAt(String orderAt) {
		this.orderAt = orderAt;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	public String getVideo() {
		return video;
	}
	public void setVideo(String video) {
		this.video = video;
	}
	public String getCreateAt() {
		return createAt;
	}
	public void setCreateAt(String createAt) {
		this.createAt = createAt;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = super.hashCode();
		result = prime * result + ((code == null) ? 0 : code.hashCode());
		result = prime * result
				+ ((createAt == null) ? 0 : createAt.hashCode());
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result + ((man == null) ? 0 : man.hashCode());
		result = prime * result + ((manCard == null) ? 0 : manCard.hashCode());
		result = prime * result + ((orderAt == null) ? 0 : orderAt.hashCode());
		result = prime * result + ((photo == null) ? 0 : photo.hashCode());
		result = prime * result + ((title == null) ? 0 : title.hashCode());
		result = prime * result + ((video == null) ? 0 : video.hashCode());
		result = prime * result + ((woman == null) ? 0 : woman.hashCode());
		result = prime * result
				+ ((womanCard == null) ? 0 : womanCard.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (!super.equals(obj))
			return false;
		if (getClass() != obj.getClass())
			return false;
		MarriageInfor other = (MarriageInfor) obj;
		if (code == null) {
			if (other.code != null)
				return false;
		} else if (!code.equals(other.code))
			return false;
		if (createAt == null) {
			if (other.createAt != null)
				return false;
		} else if (!createAt.equals(other.createAt))
			return false;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (man == null) {
			if (other.man != null)
				return false;
		} else if (!man.equals(other.man))
			return false;
		if (manCard == null) {
			if (other.manCard != null)
				return false;
		} else if (!manCard.equals(other.manCard))
			return false;
		if (orderAt == null) {
			if (other.orderAt != null)
				return false;
		} else if (!orderAt.equals(other.orderAt))
			return false;
		if (photo == null) {
			if (other.photo != null)
				return false;
		} else if (!photo.equals(other.photo))
			return false;
		if (title == null) {
			if (other.title != null)
				return false;
		} else if (!title.equals(other.title))
			return false;
		if (video == null) {
			if (other.video != null)
				return false;
		} else if (!video.equals(other.video))
			return false;
		if (woman == null) {
			if (other.woman != null)
				return false;
		} else if (!woman.equals(other.woman))
			return false;
		if (womanCard == null) {
			if (other.womanCard != null)
				return false;
		} else if (!womanCard.equals(other.womanCard))
			return false;
		return true;
	}
	@Override
	public String toString() {
		return "MarriageInfor [id=" + id + ", title=" + title + ", man=" + man
				+ ", manCard=" + manCard + ", woman=" + woman + ", womanCard="
				+ womanCard + ", orderAt=" + orderAt + ", photo=" + photo
				+ ", video=" + video + ", createAt=" + createAt + ", code="
				+ code + "]";
	}
	
}
